$OpenBSD: patch-xinvest_c,v 1.1 2010/04/27 19:45:49 naddy Exp $
--- xinvest.c.orig	Tue Apr 27 21:38:38 2010
+++ xinvest.c	Tue Apr 27 21:39:01 2010
@@ -1650,6 +1650,7 @@ int main (int argc, char **argv)
   return (0);
 }
 
+#ifdef XPRINT
 void PageCB(Widget w, XtPointer client, XtPointer call)
 {
 	XmPrintShellCallbackStruct *cbp = (XmPrintShellCallbackStruct *)call;
@@ -1660,6 +1661,7 @@ void PageCB(Widget w, XtPointer client, XtPointer call
 
 	cbp->last_page = True;
 }
+#endif
 
 void PrintCB(Widget w, XtPointer client, XtPointer call)
 {
